package edu.ucsc.gameAI.conditions;

import edu.ucsc.gameAI.ICondition;
import pacman.game.Game;

public class LevelCount implements ICondition{
	int currentLevel;

	public LevelCount(int currentLevel) {
		this.currentLevel = currentLevel;
	}

	public boolean test(Game game) {
		return game.getCurrentLevel() == currentLevel;
	}

}
